import uiwuSdk from '@/uni_modules/uiwu-sdk/js_sdk/index';

const env = process.env.NODE_ENV;
let url = 'https://xt.zhuadd.com'
let rechargeh5 = url;
let socket = 'wss://t.qujiaba.com/wss'
//let url= 'https://api.p.qujiaba.com'
//let socket = 'wss://api.p.qujiaba.com/dwss'
if (env === 'development') {
	// url = 'https://api.p.qujiaba.com'
	url='https://xt.zhuadd.com'
	socket = 'wss://api.p.qujiaba.com/dwss'
	//url = 'https://zww1379.440.red'
	//socket = 'wss://zww1379.440.red/wss'
}
export const uiwu = new uiwuSdk({
	url,
	intercept: true,
	routing: ['/pages/login/login', '/pages/login/privacy', '/pages/login/agreement', '/pages/login/outhlogin', '/pages/user/binding']
})

export const webUrl = url + '/webview/'
export const rechargeUrl = rechargeh5 + '/rechargewap'

export const ws = socket





// 外网面板地址: http://8.138.87.107:18456/14c1ef83
//  内网面板地址: http://172.29.236.202:18456/14c1ef83
//  username: fas6pyae
//  password: cdf2c12c